package com.neusoft.databus.policy.constants;

/**
 * 策略常量
 *
 * @author naxiang
 */
public class DatabusPolicyConstant {
    /**
     * 缓存名称
     */
    public static final String POLICY_FREQUENCY_CACHE_NAME = "frequency";
    public static final String POLICY_EVENT_CACHE_NAME = "event";
    public static final String POLICY_EXPRESSION_CACHE_NAME = "expression";
    /**
     * 策略表达式配置解析常量
     */
    public static final String FREQUENCY = "frequency";
    public static final String EXPRESSION = "expression";
    public static final String METRICCODE = "metricCode";
    public static final String SIGN = "sign";
    public static final String THRESHOLD = "threshold";
    public static final String TIME = "time";
    public static final String TIMES = "times";
    public static final String NEW = "new";
    /**
     * snap trap
     */
    public static final String SNMP_TRAP_UNFIXED = "1";
    public static final String SNMP_TRAP_FIXED = "2";
    public static final String SNMP_TRAP_CONFIRM = "3";

    /** 告警事件事件总线标识 */
    public static final String POLICY_EVENT_EVENTBUS_ID = "policy-event-ebus";
}
